<%= header %>
<%= boomerangScriptMin %>
<!--
For this test, we'll turn autorun off and trigger an two errors, wait, then call
BOOMR.page_ready() so the real beacon is sent.

We should see an error beacon be sent, then the page load beacon later.
-->
<script src="24-autorun-false-multiple-then-load.js" type="text/javascript"></script>
<script>
BOOMR_test.init({
	testAfterOnBeacon: 2,
	Errors: {
		enabled: true
	},
	autorun: false
});

setTimeout(function() {
	// wait until after the error beacon is sent
	BOOMR.page_ready();
}, 5000);

var a = badFunction();
</script>
<script>
var b = badFunction2();
</script>
<%= footer %>
